
import React, { Component } from 'react';
import { Button } from 'antd';
import './index.scss';
import Header from 'Components/layout/header';

export default class NotFind extends Component{
	constructor(props){
		super(props);
		this.state = {
		};
	}
	render(){
		return (
			<div className="error_container">
				<Header notShowNav={true}/>
				<img src="https://gw.alipayobjects.com/zos/rmsportal/KpnpchXsobRgLElEozzI.svg"/>
				<span className="info">
					<p className="info__title">404</p>
					<p className="info__decr">抱歉，出了点小错误</p>
				</span>
				<Button type="primary" size="large"
					onClick={() => this.props.history.push({pathname: '/'})}>
					返回首页
				</Button>
			</div>
		);
	}
}
